Tom - Reserach Stationary: Optimizing The Pupil Thresholding